#include <iostream>
using namespace std;

#include "CLineScan.h"
#include "../Point/CPoint.h"

typedef CPoint<int> point_t;

class print_point {
public:
	void operator()(const point_t& p){
		cout << p << endl;
	}
};

typedef CLineScan<print_point,point_t> line_t; 


int main (int, char * []) {
	point_t p1(0,0), p2(34,57);
	 
	print_point * _print =  new print_point();

	line_t (p1,p2,_print);
	return true;
}   